<template>
    <div>
        用户信息详情
    </div>
</template>

<script>
export default {
 name : "", 
 data(){
  return {
      idt:''
  }
 },
 created(){
     console.log(this.userApi);
        console.log(this.$route.params.id)
        this.idt = this.$route.params.id
     this.getList1()
        
 },
 mounted(){
    //  console.log(id);
    //  console.log(res);
    //  console.log(res);
    console.log(this.idt);

 },
 components : {
     
 },
 methods:{
     async getList1(){
      console.log(this.idt);

      let res = await this.userApi.getUserInfo(this.id)
      // console.log(res);
      this.id = this.idt
      // console.log(this.userList);
      // console.log(this.userList[0].openTime);
      // console.log(new Date(this.userList[0].openTime / 0.9));
    },
 }
}
</script>


<style scoped>
</style>